package com.gsafety.wellsfort.dao.knowledge;

import com.gsafety.wellsfort.domain.dto.teachaid.TeachingAidQueryDTO;
import com.gsafety.wellsfort.domain.model.knowledge.TeachingAid;

import java.util.List;

public interface TeachingAidDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(TeachingAid record);

    int insertSelective(TeachingAid record);

    TeachingAid selectByPrimaryKey(Integer id);

    List<TeachingAid> selectByParam(TeachingAidQueryDTO params);

    int updateByPrimaryKeySelective(TeachingAid record);

    int updateByPrimaryKey(TeachingAid record);
}